<?php

namespace App\GameChannel;

class LoginNotify
{
    public $gameId; // 游戏id
    public $channel; // 渠道
    public $errno = 0; // 错误码 0为成功
    public $errmsg = ''; // 错误内容
    public $openid; // 渠道账号唯一id
    public $openid2 = ''; // 渠道账号唯一id2
    public $nickname = ''; // 账号昵称
    public $headurl = ''; // 账号头像
    public $userInfo = []; // 用户扩展信息

    function __construct($game_id, $channel)
    {
        $this->gameId = $game_id;
        $this->channel = $channel;
    }
}
